Account Screen
fun AccountScreen(modifier: Modifier = Modifier, viewModel: AccountViewModel = hiltViewModel(), openDrawer: () -> Unit, onLogoutResult: () -> Unit)
Composable function for the Account screen, where users can view their account information and log out.
Parameters
modifier
The modifier to be applied to the layout of the screen content.
view Model
The ViewModel that holds the UI state and business logic for the account.
open Drawer
A lambda function triggered to open the navigation drawer.
on Logout Result
A lambda function triggered when the logout process is complete.